﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FriendLink.aspx.cs" Inherits="CMS_Admin_block_FriendLink" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="x-ua-compatible" content="ie=7" />

    <title></title>
     <style>
        .tb td
        {
            border: #fff solid 1px;
            font-size: 13px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Button ID="New" runat="server" Text="添加一条新链接" />
    </div>
    <br />
    <div style="border: solid 2px #b7ddf2; background: #ebf4fb; padding: 10px;" runat="server"
        id="DivContent">
        <asp:Repeater ID="RptList" runat="server" 
            OnItemDataBound="RptList_ItemDataBound" onitemcommand="RptList_ItemCommand">
            <HeaderTemplate>
                <table cellspacing="0" cellpadding="5" width="100%" border="0" class="tb">
                    <tr bgcolor="#cee6ff">
                        <td style="width: 10%">
                            查看
                        </td>
                        <td style="width: 10%">
                            编号
                        </td>
                        <td style="width: 40%">
                            名称
                        </td>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <asp:LinkButton ID="link" runat="server">查看明细</asp:LinkButton>
                        <asp:LinkButton ID="linkDel" runat="server">删除</asp:LinkButton>
                    </td>
                    <td>
                        <%#DataBinder.Eval(Container.DataItem, "c_id")%>
                    </td>
                    <td>
                        <%#DataBinder.Eval(Container.DataItem, "c_des")%>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
</html>
